<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8" />
    <title>Hello React!</title>
    <script src="http://static.rm5u.com/assets/react/react-0.14.7/build/react.min.js"></script>
    <script src="http://static.rm5u.com/assets/react/react-0.14.7/build/react-dom.min.js"></script>
    <script src="http://static.rm5u.com/assets/react/browser.min.js"></script>
</head>

<body>
    <div id="example">dfdsf</div>
   
    <script type="text/babel">
       var animals = ['dog', 'cat', 'pig'];
       ReactDOM.render(
         <div>
           {
              animals.map(function (animal) {
                /* body... */
                return <h1>{animal}</h1>
              })
           }
         </div>,
         document.getElementById('example')
       );
    </script>
</body>

</html>
